Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

884
Vistas
React Highchart: cómo establecer la opción "accessibility.enabled" en falso

Tengo este error en la consola:

 Highcharts warning: Consider including the "accessibility.js" module to make your chart more usable for people with disabilities. Set the "accessibility.enabled" option to false to remove this warning. See https://www.highcharts.com/docs/accessibility/accessibility-module.

No se puede encontrar en la documentación donde Set the "accessibility.enabled" option to false .

Esta es la opción que le paso al componente:

 const optionNUsersPerService = { chart: { plotBackgroundColor: null, plotBorderWidth: null, plotShadow: false, type: 'pie' }, title: { text: 'Utenti per servizio' }, tooltip: { pointFormat: '{series.name}: <b>{point.percentage:.1f}%</b>' }, accessibility: { point: { valueSuffix: '%' } }, plotOptions: { pie: { allowPointSelect: true, cursor: 'pointer', dataLabels: { enabled: true, format: '<b>{point.name}</b>: {point.percentage:.1f} %' } } }, series: [{ name: 'Utenti', colorByPoint: true, data: getDataUsersPerService(props.items) }] }

Y este es el componente:

 return ( <HighchartsReact highcharts={Highcharts} options={currentOptions} immutable={true} callback={props.callback} /> );
about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

La advertencia se agregó desde Highcharts v10.1.0 (2022-04-29)

Registro de cambios: https://www.highcharts.com/blog/changelog/

Para deshabilitar la accesibilidad, configure:

 accessibility: { enabled: false }

Demostración en vivo: http://jsfiddle.net/BlackLabel/mvnjskqr/

Referencia de la API: https://api.highcharts.com/highcharts/accessibility.enabled

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda